package com.hexinfo.dmpro.common.dao;

import com.hexinfo.dmpro.common.base.BaseRequest;
import com.hexinfo.dmpro.common.model.Log;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName LogMapper
 * @Describe
 * @Author ml.wang
 * @Date 2021-06-16
 */
@Mapper
public interface LogMapper {

    List<Log> queryAll(BaseRequest baseRequest);

    List<Log> queryInfoLogs(BaseRequest baseRequest);

    List<Log> queryErrorLogs(BaseRequest baseRequest);

    void save(Log log);

    void delAllInfoLogs();

    void delAllErrorLogs();

}
